package com.cdd.goods.service;

import com.common.entity.Goods;
import com.common.untils.CommonResult;
import com.common.vo.GoodsVo;


import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzl
 * @since 2022-09-01
 */
public interface IGoodsService {





    CommonResult selectAll(Integer currentPage, Integer pageSize, Map map);


    CommonResult deletegoods(String id);


    CommonResult insert(GoodsVo goodsVo);

    CommonResult update(Goods goods);

    List<GoodsVo> selectGoodsZone();

    CommonResult findAll(Integer currentPage,Integer pageSize);


    CommonResult collect(Integer zid, Integer sid,String homeToken);

    CommonResult qxcollect(Integer zid, Integer sid);

    CommonResult findAllCollect(com.cdd.goods.vo.GoodsVo goodsVo,String homeToken);

    CommonResult findByShopIdCollect(String shopid, String goodsid, String homeToken);
}
